#ifndef TINY_MUDUO_NONCOPYABLE_H_
#define TINY_MUDUO_NONCOPYABLE_H_

namespace tiny_muduo
{
    class NonCopyable 
    {
    public:
        NonCopyable() = default;
        ~NonCopyable() = default;

    private:
        NonCopyable(const NonCopyable&) = delete;                // 禁止拷贝构造函数
        NonCopyable& operator=(const NonCopyable&) = delete;     // 禁止赋值操作符
    };
    
}

#endif